package com.vast.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.vast.common.core.domain.entity.SysUser;
import com.vast.admin.entity.SysLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vast.admin.entity.enums.QueryOrderEnum;

public interface SysLogService extends IService<SysLog>{

    IPage<SysLog> queryList(Page<SysLog> page, boolean listMode, String queryItems, String orderField, QueryOrderEnum order);

    boolean addOrUpdate(SysUser manager, SysLog role);

    SysLog info(SysUser manager, Long id);

}
